package com.glsc.ngateway.platform.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.time.LocalDate;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GlscSystemFileUploadDto implements Serializable {
    private static final long serialVersionUID = 7155855052351479087L;

    private Integer id;

    private Integer systemId;

    @ApiModelProperty(value = "档案文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件存储路径")
    private String filePath;

    //上传文件的文件流
    private MultipartFile file;

    @ApiModelProperty(value = "上传人")
    private String userName;

    @ApiModelProperty(value = "备注")
    private String memo;

}
